package tests.junit;

import generation.duration.CellSpeed;
import generation.duration.DurationCellRepository;
import generation.duration.QuantifiedCell;
import junit.framework.TestCase;

import org.junit.Before;
import org.junit.Test;

public class TestAggregation extends TestCase {

	@Before
	public void setUp(){
		
	}
	
	@Test
	public void testDurationRepositoryCell(){
		QuantifiedCell cell = DurationCellRepository.getRandomCellBySpeed(CellSpeed.NOTSOFAST);
		String[] cells = cell.getCell();
		for (int i = 0; i < cells.length; i++) {
			if(i == cells.length - 1){
				System.out.println(cells[i]);
			} else {
				System.out.print(cells[i] + " ");
			}
		}
	}
	
}
